package dancereal;

public class J25_Animal {

	public int hp;
	public int weight;
	public String color;
	
	public J25_Animal(){}
	public J25_Animal(int hp, int weight, String color){
		this.hp = hp;
		this.weight = weight;
		this.color = color;
	}
	public int getHp() {return hp;}
	public void setHp(int hp) {this.hp = hp;}
	public int getWeight() {return weight;}
	public void setWeight(int weight) {this.weight = weight;}
	public String getColor() {return color;}
	public void setColor(String color) {this.color = color;}
	
	public void eat(){System.out.println("모든 동물은 먹어야 산다");}
	public void cry(){}
	
	
	
	
}
